package com.example.redpacket.service;


import com.example.redpacket.dto.RedPacketDto;

import java.math.BigDecimal;

/**
 * @Description
 * @Author 大雄 <1194353393@qq.com>
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2022/5/1 16:22
 */
public interface IRedPacketService {

    String handOut(RedPacketDto dto) throws Exception;

    BigDecimal rob(Integer userId, String redId) throws Exception;
}
